package com.tom.de;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
//引入配置前缀为spring.auth的配置文件
@ConfigurationProperties(prefix = "spring.auth")
@Data
public class AuthorityProperties {

    //是否开启验证
    boolean enabled;
    //拦截路径
    String pathPatterns;
    //不拦截的路径
    String excludePathPatterns;
}

